home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: novice.uwaterloo.ca!panorpid
- From: JDCRYMBL@MECHANICAL.uwaterloo.ca (Derry Crymble)
- Subject: Interupt driven serial communications
- Sender: news@novice.uwaterloo.ca (Mr. News)
- Message-ID: <4iieqq$90k_001@watstar.uwaterloo.ca>
- Date: Mon, 18 Mar 1996 01:38:34 GMT
- Nntp-Posting-Host: panorpid.watstar.uwaterloo.ca
- Organization: University of Waterloo
- X-Newsreader: News Xpress Version 1.0 Beta #3
-
- I have been trying to communicate with a force sensor for the parst 3
- weeks. I initially used the _bios_serial_com built in functions and
- although i was able to send and recieve data i am having problems at
- higher baud rates. I am looking to access the com port in C using
- the inportb() and outportb() functions and use the hardware
- interupts, does anybody know what i can do.
-
- I have been trying to program the UART and the 8259 but I am having
- no luck. My interupt handler works because when i have the clocktick
- interupt vectored to my handler it enters the handler routine.
-
- I relize there is assembly code that probably could do the trick but
- i would preffer to C.
-
- Any suggestions.
-
- Thank You.
-